package cn.hy.plugin;

import org.springframework.stereotype.Component;

@Component
public class MyService2 implements MyPlugin{
    @Override
    public String[] handle(String s) {
        return new String[]{s};
    }

    @Override
    public boolean supports(String delimiter) {
        return "2".equals(delimiter);
    }
}
